<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title>乡村振兴</title>
		<script src="https://unpkg.com/vue/dist/vue.js"></script>
		<script src="https://unpkg.com/element-ui/lib/index.js"></script>
		<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
		<link rel="stylesheet" type="text/css" href="/css/style.css">
	</head>
	<body>
		<div id="app">
			<div th:replace="wwwfront/_header :: thHeader"></div>
			<div th:replace="wwwfront/_header :: thHeaderMenue"></div>
			<template v-if="show">
				<div  th:replace="wwwfront/_content :: thContnet"></div>
			</template>
			<template v-if="!show">
				<div  th:replace="wwwfront/_list :: thList"></div>
			</template>
			<div style="width: 1200px;margin: auto; margin-top: 30px; border-top: 2px solid #000">
				<div v-for="o in 5" :key="o" style="display: inline-block;">
					<el-image style="width: 180px; height: 50px; margin: 10px 10px;" :src="hezuo" :fit="fit"></el-image>
				</div>
			</div>
			<el-divider></el-divider>
			<div class="fotter"
				style="text-align: center; margin-top: 20px; margin-bottom: 20px; font-size: 13px; color: #72767B;">
				<el-link href="https://beian.miit.gov.cn">京ICP备19014271号</el-link>
			</div>
		</div>
	</body>
	<script>
		new Vue({
			el: '#app',
			data() {
				return {
					src: "/img/logo2.png",
					input: "",
					activeIndex: "0",
					reverse: false,
					fit: "fill",
					src1: "/img/logo.jpg",
					url: "/img/logo.jpg",
					hezuo: "/img/google.png",
					menues: ["首页", "宏观形势", "政策数据库", "政策数据库", "政策数据库", "政策数据库", "政策数据库", "政策数据库"],
					activities: [{
						content: '重庆垫江 推动乡村全面振兴重庆垫江 推动乡村全面振兴重庆垫江 推动乡村全面振兴重庆垫江 推动乡村全面振兴重庆垫江 推动乡村全面振兴',
						timestamp: '2018-04-15'
					}, {
						content: '重庆垫江 推动乡村全面振兴',
						timestamp: '2018-04-13'
					}, {
						content: '重庆垫江 推动乡村全面振兴',
						timestamp: '2018-04-11'
					}],
					img: "/img/logo.jpg",
					show: true
				}
			},
			methods: {
				handleSelect(key, keyPath) {
					if(key != 0){
						this.$data.show = false
					}else{
						this.$data.show=true
					}
				}
			}
		})
	</script>
</html>
